<template>
  <div class="tab-nav">
    <van-tabbar v-model="active">
      <router-link tag="div" class="van-tabbar-item" to="/">
        <van-tabbar-item icon="home-o">电影/影院</van-tabbar-item>
      </router-link>

      <router-link tag="div" class="van-tabbar-item" to="/video">
        <van-tabbar-item icon="tv-o">视频</van-tabbar-item>
      </router-link>

      <router-link tag="div" class="van-tabbar-item" to="/smallvideo">
        <van-tabbar-item icon="video-o">小视频</van-tabbar-item>
      </router-link>

      <router-link tag="div" class="van-tabbar-item" to="/myinfo">
        <van-tabbar-item icon="contact">我的</van-tabbar-item>
      </router-link>
    </van-tabbar>
  </div>
</template>

<script>
export default {
  data() {
    return {
      active: 0,
    };
  },
};
</script>

<style lang="scss" scoped>
.tab-nav {
}
</style>